<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
		<title></title>
		<script type="text/javascript" src="https://b.bdstatic.com/searchbox/icms/searchbox/js/swanInvoke.js"></script>
	</head>
	<body>
		<br><br>
		<a href="weixin://dl/business/?t=oMclL4ky5Hl">打开微信小程序</a>
		<br><br>
		<a href="javascript:;"  id="open_swan">打开智能小程序</a>
		<script type="text/javascript">
			let b = document.getElementById('open_swan')
			b.addEventListener('click', () => {
				window.swanInvoke({
					appKey: '8jD6bCDgHFFVaFwBsdAOl3sQBEXX2oHt',
					path: 'pages/index/index',
					query: {
						id: 1,
						type: 'a'
					}
				});
			})
		</script>
	</body>
</html>
